ARG BASE_IMAGE=alpine:3.16.0

FROM $BASE_IMAGE

EXPOSE 6090

RUN mkdir -p /data
COPY ./build /data/das
WORKDIR /data/das

CMD ["/data/das/bin/das", "start", "--daemon=false", "--config=/data/das/config/das.yaml"]
